import request from '@/utils/request'

// 查询全部仓库
export function getWarehouseAPI() {
  return request({
    url: '/warehouse/list'
  })
}

// 分页查询仓库
export function getWarehousePagingAPI() {
  return request({
    url: '/warehouse/page'
  })
}

// 新增仓库
export function getAddWarehouseAPI(data) {
  return request({
    url: '/warehouse',
    method: 'post',
    data
  })
}

